package com.gupao.abstractFactory;

public class abstractFactoryTest {
    public static void main(String[] args) {
        MechanicsFactory geLiFactory = new GeLiFactory();
        geLiFactory.createAirConditioner().makeAirConditioner();
        geLiFactory.createWashingMachine().makeWashingMachine();
        MechanicsFactory meiDiFactory = new MeiDiFactory();
        meiDiFactory.createAirConditioner().makeAirConditioner();
        meiDiFactory.createWashingMachine().makeWashingMachine();
    }
}
